$(document).ready(function() { 	
	$('#tabs').tabs();
	$('#tasksTable').tablesorter();
	$('#tagsTable').tablesorter();
	// hides the slickbox as soon as the DOM is ready
	// (a little sooner than page load)
	$('#addTaskFormBox').hide();
	$('#addTagFormBox').hide();
	// toggles the slickbox on clicking the noted link  
	$('a#slick-toggle-tasks').click(function() {
	$('#addTaskFormBox').toggle(400);
		return false;
	});
	$('a#slick-toggle-tags').click(function() {
		$('#addTagFormBox').toggle(400);
			return false;
		});
	$('#wysiwyg-tasks').wysiwyg();
	$('#wysiwyg-tags').wysiwyg();
});